package cn.lisens.jpa.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import cn.lisens.jpa.domain.User;

public interface UserRepository extends JpaRepository<User, Long>{

	// 方法名派生查询
    List<User> findByUsername(String username);

}
